package org.ben.xintoucloud.javase.ooppet;

/**
 * @Author: Ben
 * @Date: 2019/7/10 21:09
 */
public class Cat extends MyPet {
    private int weight;

    public Cat(String name, int age, String color, int weight) {
        super(name, age, color);
        this.weight = weight;
    }

    public void catchCat(){
        System.out.println("抓老鼠");
    }
}
